package com.gxa.hualianeshop.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单状态信息表
 * </p>
 *
 * @author bill
 * @since 2023-07-28
 */
@Getter
@Setter
@TableName("order_status")
@ApiModel(value = "OrderStatus对象", description = "订单状态信息表")
public class OrderStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单编号")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty("状态：1、未付款 2、已付款,未发货 3、已发货,未确认 4、交易成功 5、交易关闭 6、已评价")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField("created")
    private LocalDateTime created;

    @ApiModelProperty("支付时间")
    @TableField("paymented")
    private LocalDateTime paymented;

    @ApiModelProperty("发货时间")
    @TableField("consigned")
    private LocalDateTime consigned;

    @ApiModelProperty("交易完成时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @ApiModelProperty("评价的时间")
    @TableField("comment_time")
    private LocalDateTime commentTime;

    @ApiModelProperty("超时的时间")
    @TableField("expire_time")
    private LocalDateTime expireTime;

    @ApiModelProperty("关闭的时间")
    @TableField("close_time")
    private LocalDateTime closeTime;


}
